Skip to content

Modernize pre-commit hooks#63

Open
Marius1311 wants to merge 1 commit intomainfrom
fix/linting-cleanup
Open

Modernize pre-commit hooks#63
Marius1311 wants to merge 1 commit intomainfrom
fix/linting-cleanup

Conversation

@Marius1311
Copy link
Collaborator

  • Update all hooks to latest versions (pre-commit autoupdate)
  • Replace flake8-logging-format with flake8-logging (the former depends on pkg_resources, removed in setuptools 78+)
  • Fix mypy errors in _sort_real_schur.py: cast np.diff output to native int
  • Fix D401 docstring in sort_real_schur (imperative mood)
  • Update deprecated stage names: commit -> pre-commit, push -> pre-push
  • Remove fix-encoding-pragma hook (removed in pre-commit-hooks v6, handled by pyupgrade)
  • Remove unnecessary # noqa: D401 (yesqa)

- Update all hooks to latest versions (pre-commit autoupdate)
- Replace flake8-logging-format with flake8-logging (the former depends on
  pkg_resources, removed in setuptools 78+)
- Fix mypy errors in _sort_real_schur.py: cast np.diff output to native int
- Fix D401 docstring in sort_real_schur (imperative mood)
- Update deprecated stage names: commit -> pre-commit, push -> pre-push
- Remove fix-encoding-pragma hook (removed in pre-commit-hooks v6,
  handled by pyupgrade)
- Remove unnecessary # noqa: D401 (yesqa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant